package gofish.servlets;

import gofish.objects.GameData;

/**
 * JoinGroup will be a Servlet that Adam's client code
 * can contact to join a group from the lobby screen.
 *
 * @author Matt Lauber
 */
public class JoinGroup {

	/**
	 * At this point, I don't believe what sort of JSON it
	 * returns has been determined.
	 */
	public boolean doPost(int gid, String userName) {
		GameData.joinGroup(gid, userName);
		return true;
	}
}
